home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / Asymptote Demo / Asymptote Startup < prev    next >
Text File  |  1994-05-07  |  2KB  |  55 lines

  1. % Asymptote runs this script every time it starts up.
  2. %
  3. %    If you don't want the start up script to run, select
  4. %    File>Options>Preferences and disable this option.
  5. % You can use this start up script to change the default
  6. % values for the graphics environment or to perform some
  7. % function everytime Asymptote starts up.
  8. %
  9. % After Asymptote runs the Startup script, it records
  10. % the settings of the graphics environment such as pensize
  11. % font, graphframe, etc.
  12. %
  13. % Every time you run the recorder, Asymptote restores the
  14. % parameters of the graphics environment to values they
  15. % had when this start up script finished running.  
  16. % -------------------------------------------------------
  17.  
  18. % These are some examples of what you can do with the
  19. % Startup script.  Feel free to make any changes you like.
  20.  
  21. % Choose to measure graph coordinates in inches:
  22. graphunits in
  23.  
  24. % Make the default graphics area square and put it roughly
  25. % in the center of the page:
  26. graphframe 2 7 2 7
  27.  
  28. % Make Helvetica the default font for graph labels:
  29. fontname Helvetica
  30.  
  31. % Use these commands to change the default size
  32. % for points, tickmarks and labels when scale = 1.0.
  33. fontsize 12        % Default size of labels (in points)
  34. pointsize 6        % Default size for point symbols (in points)
  35. ticksize 12        % Default length of tick marks (in points)
  36. pensize 0.25    % hairline
  37.  
  38. % You can change any of the other parameters of the 
  39. % graphics environment (such as pencolor, etc.) to have 
  40. % these become the new default values.
  41.  
  42. % The following commmand runs a script that sets a number
  43. % of useful physical constants.  Uncomment the next two 
  44. % lines if you want to have Asymptote set these constants:
  45.  
  46. % Constants
  47. % close Constants
  48.  
  49. % You probably don't want the start up script to remain 
  50. % open after it runs so put the closewindow command at 
  51. % the end to close this window once the script finishes 
  52. % running.
  53. closewindow
  54.